/*
 * @Author: yangrongxin
 * @Date: 2021-07-19 10:55:42
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-08-05 18:47:27
 */
// babel-preset-taro 更多选项和默认值：
// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
module.exports = {
  presets: [
    ['taro', {
      framework: 'react',
      ts: true
    }]
  ],
  plugins: [
    ["@babel/plugin-proposal-decorators", { "legacy": true }],
    ["@babel/plugin-proposal-class-properties", { "loose": true, "setPublicClassFields": true }],
    ["@babel/plugin-proposal-private-methods", { "loose": true }]
  ]
}
